using System;
using System.Collections.Generic;
using System.Text;

namespace YPing
{
    public class HtmlHelper
    {
        public static string ExtractField(string profile, string updateLabel)
        {
            int startDate = profile.IndexOf(updateLabel);
            int endDate = profile.IndexOf("<", startDate);
            return profile.Substring(startDate, endDate - startDate); ;
        }
    }
}
